int factorial(int n) {
    if (n <= 1) {
        return 1;
    } else {
        return n * factorial(n - 1);
    }
}

int fibonacci(int n) {
    if (n <= 1) {
        return n;
    } else {
        return fibonacci(n - 1) + fibonacci(n - 2);
    }
}

int main() {
    int x = 5;
    int y = 3;
    
    // 测试条件语句
    if (x > y) {
        int result = factorial(x);
        return result;
    } else {
        int result = fibonacci(y);
        return result;
    }
} 